package com.jy.project.mapper;

import com.jy.project.domain.ApplyBorrow;
import com.jy.project.domain.ApplyCollect;
import com.jy.project.dto.MaterialDetailsDTO;
import com.jy.project.vo.MaterialDetailsVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertListMapper;

import java.util.List;

public interface ApplyBorrowMapper extends Mapper<ApplyBorrow>, InsertListMapper<ApplyBorrow> {
    List<MaterialDetailsVO> listMaterialDetailsVO(MaterialDetailsDTO detailsDTO);

    List<ApplyBorrow> listApplyBorrow(@Param("materialNo") String materialNo);

}